import numpy as np

dt = np.dtype([("age", np.int8)])
a = np.array([(10,),(20,),(30,)],dtype=dt)
print(dt)
print(a)
print(a['age'])
'''
[('age', 'i1')]
[(10,) (20,) (30,)]
[10 20 30]
'''